package com.ljh.mybatis.mapper;

import com.ljh.mybatis.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserInfoMapperXML {
    List<UserInfo> selectAll();
    List<UserInfo> selectAll2();
    Integer insertUser(UserInfo userInfo);
    Integer insertUser2(@Param("userInfo") UserInfo userInfo);
    Integer insertUser3(UserInfo userInfo);
    Integer deleteUser(Integer id);
    Integer updateUser(UserInfo userInfo);
    List<UserInfo> selectAll3(UserInfo userInfo);
    Integer updateUser2(UserInfo userInfo);
    Integer deleteBatch(List<Integer> lists);
    Integer insertBatch(List<UserInfo> lists);
}
